package com.gitee.cnlongs.cnlongmq.basic.entitiy.election;

import java.io.Serializable;

/**
 * 系统名称：CaptainElectionEntity
 * 模块名称：
 * 模块描述：队长选举实体类
 * 功能列表：
 * 模块作者：zouyong
 * 开发时间：2019年8月30日 上午10:34:08
 * 模块路径：com.gitee.cnlongs.cnlongmq.basic.entitiy.election.CaptainElectionEntity
 */
public class CaptainElectionEntity implements Serializable {

	// 序列化ID
	private static final long serialVersionUID = 1L;
	
	// ip
	private String captainIp;

	// 端口
	private Integer captainPort;

	// 选举时间
	private Long electionTime;

	public String getCaptainIp() {
		return captainIp;
	}

	public void setCaptainIp(String captainIp) {
		this.captainIp = captainIp;
	}

	public Integer getCaptainPort() {
		return captainPort;
	}

	public void setCaptainPort(Integer captainPort) {
		this.captainPort = captainPort;
	}

	public Long getElectionTime() {
		return electionTime;
	}

	public void setElectionTime(Long electionTime) {
		this.electionTime = electionTime;
	}

}
